package com.coin.liu.client;

import com.coin.liu.Utils.ResultMessage;
import com.coin.liu.pojo.OtherTeacherData;
import com.coin.liu.Utils.PageUtils;
import com.coin.liu.Utils.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "teacherOtherdata-service")
public interface teacherOtherdataClient {

    @RequestMapping("/teacher_list")
    public PageUtils<OtherTeacherData> getteacherList( Long pageIndex,Long pageSize, @RequestParam(value = "idCard",defaultValue = "") String idCard);

    @RequestMapping("/teacherlist_add")
    public ResultMessage teacherinfoadd(@RequestBody OtherTeacherData otherTeacherData);
}
